import google.generativeai as genai

genai.configure(api_key="AIzaSyBJoz7BvdFgWTBwzcu-0xWpJKfEJOR6vPM")
model = genai.GenerativeModel('models/gemini-1.5-pro-latest')
response = model.generate_content("elasticsearch 向量化检索怎么优化，通过示例代码说明，script_score 怎么设置最小分数，minscore 在reqnest设置和在script_score 设置有什么区别")
print(response.text)
